
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace jzlib.asp.net.Controls
{
    [TypeConverter(typeof(ExpandableObjectConverter))]
    public abstract class CustomSetting
    {
        private GridViewEx gridView;
        [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public GridViewEx Owner
        {
            get
            {
                return gridView;
            }
            set
            {
                gridView = value;
                if (gridView != null)
                {
                    RegisterGridViewEvent();
                }
            }
        }
        protected abstract void RegisterGridViewEvent();
    
    }
}
